<template>
	<view>
		<!-- <u-navbar :is-back="true" :is-fixed="true" title="黑名单详情"></u-navbar> -->
		<view class="py-3 pl-3 pr-3 lineHight-2 font-14">
			<view>企业名称：{{newlist.enterpriseName}}</view>
			<view>公用品牌名称：{{newlist.publicBrandName}}</view>
			<view>产品名称：{{newlist.productName}}</view>
			<view>负责人：{{newlist.legalRepresentative}}</view>
			<view>手机号：{{newlist.phone}}</view>
			<view>拉黑原因：{{newlist.enterprisesReason}}</view>
			<view>发布时间：{{newlist.updateTime}}</view>
		</view>
	</view>
</template>

<script>
	import $H from '@/common/free-lib/request.js';
	export default {
		data() {
			return {
				newlist: {}
			}
		},
		onLoad(options) {
			const id = options.id;
			this.NewListDetail(id)
		},
		methods: {
			NewListDetail(id) {
				$H.get('/agriculture/blacklist/queryById', {
					id: id
				}, {}).then(res => {
					this.newlist = res.result
				}).catch(error => {
					uni.showToast({
						title: "网络错误，请稍后再试",
						icon: 'none'
					});
				});
			},
		}
	}
</script>

<style></style>